//
//  YDStarView.h
//  YunDongGym
//
//  Created by lqq on 2018/5/22.
//  Copyright © 2018年 lqq. All rights reserved.
//

#import <UIKit/UIKit.h>

//星星类型
typedef NS_ENUM(NSInteger, StarType) {
    StarType_25,//
    StarType_18,//
};

@interface YDStarView : UIView
@property (nonatomic, assign) StarType starType;//
@property (nonatomic, assign) NSInteger starCount;
@property (nonatomic, assign) NSInteger score;//默认为0
@property (nonatomic, copy) void(^choiceBlock)(int choiceIndex);
@end
